<style scoped>
  @import 'home.css';
</style>
<template>
    <div id="home">
       <div>
            <div class="cont-left">
                <ul>
                    <li><router-link to='/'>user</router-link></li>
                    <li><router-link to='/news'>go to news</router-link></li>
                    <li><router-link to='/detail'>go to detail</router-link></li>
                    <li>状态：{{state}}</li>
                    <li>tab444</li>
                    <li>tab555</li>
                </ul>

            </div>
            <div class="cont-right">
               <router-view></router-view>
            </div>
       </div>

    </div>
</template>
<script src="./home.js"></script>
